/**
 * 
 * koa路由设置
 */
const Router = require('@koa/router');
const router = new Router();
// 设置路由前缀
router.prefix('/api');

//引用user用户的路由
const useRouter = require('./user')


router.use(useRouter.routes())

module.exports = router